package com.cx.service.lcd.Impl;

import com.cx.mapper.GameMapper;
import com.cx.pojo.Game;
import com.cx.service.lcd.GamedetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GamedetailsServiceImpl implements GamedetailsService{

    @Autowired
    GameMapper gameMapper;


    @Override
    public Game selectByGameId(Integer gameId) {
        return gameMapper.selectByPrimaryKey(gameId);
    }
}
